added SSCLI 1.0
[windows-sources.git] / shared source / sscli_ref_20021101 / docs / System.Net.Sockets / System.Net.Sockets.html
blob768c176ee1fc8dc66273acf04f207b0d817caa36
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
2 <head>
3 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <link rel="stylesheet" type="text/css" href="../refdoc.css">
5 <title>Namespace: System.Net.Sockets</title>
6 </head>
7 <body>
8 <h2>Namespace: System.Net.Sockets</h2>
9 <dl>
10 <dd>
11 <p> The <a href="../System.Net.Sockets/System.Net.Sockets.html">System.Net.Sockets</a> namespace provides a managed implementation of the Windows Sockets (Winsock) interface for developers who need to tightly control access to the network.</p>
12 <p> The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemNetSocketsTCPClientmemberstopic.asp">TCPClient</a>, <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemNetSocketsTCPListenermemberstopic.asp">TCPListener</a>, and <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemNetSocketsUDPClientmemberstopic.asp">UDPClient</a> classes encapsulate the details of creating TCP and UDP connections to the Internet.</p>
13 </dd>
14 </dl>
15 <h3>Members of System.Net.Sockets Namespace</h3><b>Classes</b><dl>
16 <dd>
17 <table border="1" width="90%" style="border-collapse: collapse">
18 <tr valign="top">
19 <th bgcolor="#C0C0C0">Class</th>
20 <th bgcolor="#C0C0C0">
21 Description
22 </th>
23 </tr>
24 <tr valign="top">
25 <td width="30%"><a href="types/LingerOption.html">class LingerOption</a></td>
26 <td width="60%"> Contains information about a socket's linger time, the amount of time it will remain after closing if data remains to be sent. 
27 </td>
28 </tr>
29 <tr valign="top">
30 <td width="30%"><a href="types/MulticastOption.html">class MulticastOption</a></td>
31 <td width="60%"> Contains IP address values for IP multicast packets. 
32 </td>
33 </tr>
34 <tr valign="top">
35 <td width="30%"><a href="types/NetworkStream.html">class NetworkStream</a></td>
36 <td width="60%"> Provides the underlying stream of data for network access. 
37 </td>
38 </tr>
39 <tr valign="top">
40 <td width="30%"><a href="types/Socket.html">class Socket</a></td>
41 <td width="60%"> Implements the Berkeley sockets interface. 
42 </td>
43 </tr>
44 <tr valign="top">
45 <td width="30%"><a href="types/SocketException.html">class SocketException</a></td>
46 <td width="60%"> The exception that is thrown when a socket error occurs. 
47 </td>
48 </tr>
49 <tr valign="top">
50 <td width="30%"><a href="types/TcpClient.html">class TcpClient</a></td>
51 <td width="60%"> Provides client connections for TCP network services. 
52 </td>
53 </tr>
54 <tr valign="top">
55 <td width="30%"><a href="types/TcpListener.html">class TcpListener</a></td>
56 <td width="60%"> Listens for connections from TCP network clients. 
57 </td>
58 </tr>
59 <tr valign="top">
60 <td width="30%"><a href="types/UdpClient.html">class UdpClient</a></td>
61 <td width="60%"> Provides User Datagram Protocol (UDP) network services. 
62 </td>
63 </tr>
64 </table>
65 </dd>
66 </dl><br><b>Enumerations</b><dl>
67 <dd>
68 <table border="1" width="90%" style="border-collapse: collapse">
69 <tr valign="top">
70 <th bgcolor="#C0C0C0">Enumeration</th>
71 <th bgcolor="#C0C0C0">
72 Description
73 </th>
74 </tr>
75 <tr valign="top">
76 <td width="30%"><a href="types/AddressFamily.html">enumeration AddressFamily</a></td>
77 <td width="60%"> Specifies the addressing scheme that an instance of the <a href="../System.Net.Sockets/types/Socket.html">Socket</a> class can use. 
78 </td>
79 </tr>
80 <tr valign="top">
81 <td width="30%"><a href="types/ProtocolFamily.html">enumeration ProtocolFamily</a></td>
82 <td width="60%"> Specifies the type of protocol that an instance of the <a href="../System.Net.Sockets/types/Socket.html">Socket</a> class can use. 
83 </td>
84 </tr>
85 <tr valign="top">
86 <td width="30%"><a href="types/ProtocolType.html">enumeration ProtocolType</a></td>
87 <td width="60%"> Specifies the protocols that the <a href="../System.Net.Sockets/types/Socket.html">Socket</a> class supports. 
88 </td>
89 </tr>
90 <tr valign="top">
91 <td width="30%"><a href="types/SelectMode.html">enumeration SelectMode</a></td>
92 <td width="60%"> Defines the polling modes for the <a href="#Poll(System.Int32,System.Net.Sockets.SelectMode)">Socket.Poll</a> method. 
93 </td>
94 </tr>
95 <tr valign="top">
96 <td width="30%"><a href="types/SocketFlags.html">enumeration SocketFlags</a></td>
97 <td width="60%"> Provides constant values for socket messages. 
98 </td>
99 </tr>
100 <tr valign="top">
101 <td width="30%"><a href="types/SocketOptionLevel.html">enumeration SocketOptionLevel</a></td>
102 <td width="60%"> Defines socket option levels for the <a href="#SetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,System.Int32)">Socket.SetSocketOption</a> and <a href="#GetSocketOption(System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName)">Socket.GetSocketOption</a> methods. 
103 </td>
104 </tr>
105 <tr valign="top">
106 <td width="30%"><a href="types/SocketOptionName.html">enumeration SocketOptionName</a></td>
107 <td width="60%"> Defines socket option names for the <a href="../System.Net.Sockets/types/Socket.html">Socket</a> class. 
108 </td>
109 </tr>
110 <tr valign="top">
111 <td width="30%"><a href="types/SocketShutdown.html">enumeration SocketShutdown</a></td>
112 <td width="60%"> Defines constants used by the <a href="#Shutdown(System.Net.Sockets.SocketShutdown)">Socket.Shutdown</a> method. 
113 </td>
114 </tr>
115 <tr valign="top">
116 <td width="30%"><a href="types/SocketType.html">enumeration SocketType</a></td>
117 <td width="60%"> Specifies the type of socket an instance of the <a href="../System.Net.Sockets/types/Socket.html">Socket</a> class represents. 
118 </td>
119 </tr>
120 </table>
121 </dd>
122 </dl><br><b>Namepace hierarchy</b><br><ul class="none">
123 <li><a href="../System/types/Object.html">System.Object</a></li>
124 <ul class="none">
125 <li><a href="../System/types/Exception.html">System.Exception</a></li>
126 <ul class="none">
127 <li><a href="../System/types/SystemException.html">System.SystemException</a></li>
128 <ul class="none">
129 <li><a href="../System.Runtime.InteropServices/types/ExternalException.html">System.Runtime.InteropServices.ExternalException</a></li>
130 <ul class="none">
131 <li><a href="../System.ComponentModel/types/Win32Exception.html">System.ComponentModel.Win32Exception</a></li>
132 <ul class="none">
133 <li><a href="../System.Net.Sockets/types/SocketException.html">System.Net.Sockets.SocketException</a></li>
134 </ul>
135 </ul>
136 </ul>
137 </ul>
138 </ul>
139 <ul class="none">
140 <li><a href="../System/types/MarshalByRefObject.html">System.MarshalByRefObject</a></li>
141 <ul class="none">
142 <li><a href="../System.IO/types/Stream.html">System.IO.Stream</a></li>
143 <ul class="none">
144 <li><a href="../System.Net.Sockets/types/NetworkStream.html">System.Net.Sockets.NetworkStream</a></li>
145 </ul>
146 </ul>
147 </ul>
148 <ul class="none">
149 <li><a href="../System.Net.Sockets/types/LingerOption.html">System.Net.Sockets.LingerOption</a></li>
150 </ul>
151 <ul class="none">
152 <li><a href="../System.Net.Sockets/types/MulticastOption.html">System.Net.Sockets.MulticastOption</a></li>
153 </ul>
154 <ul class="none">
155 <li><a href="../System.Net.Sockets/types/Socket.html">System.Net.Sockets.Socket</a> --- <a href="../System/types/IDisposable.html">System.IDisposable</a></li>
156 </ul>
157 <ul class="none">
158 <li><a href="../System.Net.Sockets/types/TcpClient.html">System.Net.Sockets.TcpClient</a> --- <a href="../System/types/IDisposable.html">System.IDisposable</a></li>
159 </ul>
160 <ul class="none">
161 <li><a href="../System.Net.Sockets/types/TcpListener.html">System.Net.Sockets.TcpListener</a></li>
162 </ul>
163 <ul class="none">
164 <li><a href="../System.Net.Sockets/types/UdpClient.html">System.Net.Sockets.UdpClient</a> --- <a href="../System/types/IDisposable.html">System.IDisposable</a></li>
165 </ul>
166 <ul class="none">
167 <li><a href="../System/types/ValueType.html">System.ValueType</a></li>
168 <ul class="none">
169 <li><a href="../System/types/Enum.html">System.Enum</a></li>
170 <ul class="none">
171 <li><a href="../System.Net.Sockets/types/AddressFamily.html">System.Net.Sockets.AddressFamily</a></li>
172 </ul>
173 <ul class="none">
174 <li><a href="../System.Net.Sockets/types/ProtocolFamily.html">System.Net.Sockets.ProtocolFamily</a></li>
175 </ul>
176 <ul class="none">
177 <li><a href="../System.Net.Sockets/types/ProtocolType.html">System.Net.Sockets.ProtocolType</a></li>
178 </ul>
179 <ul class="none">
180 <li><a href="../System.Net.Sockets/types/SelectMode.html">System.Net.Sockets.SelectMode</a></li>
181 </ul>
182 <ul class="none">
183 <li><a href="../System.Net.Sockets/types/SocketFlags.html">System.Net.Sockets.SocketFlags</a></li>
184 </ul>
185 <ul class="none">
186 <li><a href="../System.Net.Sockets/types/SocketOptionLevel.html">System.Net.Sockets.SocketOptionLevel</a></li>
187 </ul>
188 <ul class="none">
189 <li><a href="../System.Net.Sockets/types/SocketOptionName.html">System.Net.Sockets.SocketOptionName</a></li>
190 </ul>
191 <ul class="none">
192 <li><a href="../System.Net.Sockets/types/SocketShutdown.html">System.Net.Sockets.SocketShutdown</a></li>
193 </ul>
194 <ul class="none">
195 <li><a href="../System.Net.Sockets/types/SocketType.html">System.Net.Sockets.SocketType</a></li>
196 </ul>
197 </ul>
198 </ul>
199 </ul><br><i><a href="../documentation_license.txt">
200 Copyright (c) 2002 Microsoft Corporation. All rights reserved.
201 </a></i></body>
202 </html>